//#define _CRT_SECURE_NO_WARNINGS 1
//
//#include <stdio.h>
////
////int add(int x, int y)
////{
////	if (x > y)
////		return x;
////	else
////		return y;
////}
////#define _CRT_SECURE_NO_WARNINGS 1
//
//#include <stdio.h>
////int main()
////{
////	int a = 0;
////	int b = 0;
////	scanf("%d%d", &a, &b);
////	printf("%d",add);
////	
////}
////int add(int x, int y)
////{
////	y = (x / 12) * 4 + 2;
////	return y;
////}
//// #define _CRT_SECURE_NO_WARNINGS 1
//
//#include <stdio.h>
//
////int main()
////{
////	int n = 0;
////	int t = 0;
////	scanf("%d", &n);
////	printf("%d\n", add(n, t));
////}
//#define _CRT_SECURE_NO_WARNINGS 1
//
//#include <stdio.h>
////
////int main()
//////{
////    int a = printf("Hello world!");
////    printf("\n%d", a);
////    return 0;
////}
//#define _CRT_SECURE_NO_WARNINGS 1
//
//#include <stdio.h>
//
//int main()
//{
//	int a, b, c;
//	while (scanf("%d%d%d", &a, &b, &c) == 3)
//	{
//		if (a + b > c && a + c > b && b + c > a)
//			if (a == b && b == c)
//				printf("Equilateral triangle\n");
//			else if (a == b || a == c || b == c)
//				printf("Isosceles triangle\n");
//			else
//				printf("Ordinary triangle\n");
//		else
//			printf("Not a triangle!\n");
//	}
////	return 0;
//}
//#define _CRT_SECURE_NO_WARNINGS 1
//
//#include <stdio.h>
//
//int main()
//{
//	int kg = 0;
//	int cm = 0;
//	float bmi;
//	scanf("%d%d", &kg, &cm);
//	bmi = (float)kg / ((float)cm * (float)cm / 10000);
//	printf("%0.2f", bmi);
//	return 0;
//}
#define _CRT_SECURE_NO_WARNINGS 1

#include <stdio.h>

int main()
{
	int age = 0;
	scanf("%d", &age);
	int s = age * 3.156 * 10 * 10 * 10 * 10 * 10 * 10 * 10;
	printf("%d", s);
	return 0;
}